<template>
<h1>路由演示</h1>

<p>
    <router-link to="/home">首页</router-link>
    <router-link to="/about">关于</router-link>
</p>
<hr>
<router-view></router-view>
</template>

<script>
export default {
    name: 'App'
}

</script>

<style>
.router-link-exact-active {
    color: red;
}
</style>